package com.ebupt.migu.music.label.mapper;

import java.util.HashMap;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.dynamic.datasource.annotation.DS;

/**
 * @author liuyangyang@e-byte.com
 * @description: TODO
 * @date 2024/11/11 16:00
 */
@Mapper
@DS("mysql_mg")
public interface IndustryLabelTableMapper {
    /**
     * 同步行业标签客群到临时表
     * 
     * @param params
     */
    public void create(HashMap<String, Object> params);

    /**
     * 查询是否存在已经创建的客群
     * 
     * @param customerId
     * @return
     */
    public Integer queryByCustomerId(@Param("customerId") String customerId);

    /**
     * 更新客群信息
     * 
     * @param params
     */
    public void update(HashMap<String, Object> params);
}
